#ifndef SL_TILESET_HPP
#define SL_TILESET_HPP

// SFML
#include <SFML/Graphics.hpp>

// Eigene Header
#include "../../MapLoader/Tileset.hpp"
#include "../Manager/TextureManager.hpp"
#include "../System/Convert.hpp"
#include "../Manager/RenderTextureManager.hpp"

namespace sl
{
	class Tileset : public maploader::Tileset, public sf::Sprite
	{
	public:
		Tileset(const maploader::Tileset& tileset);

	public:
		Tileset* DrawTile(unsigned int index, const sf::Vector2f& offset, unsigned int tileheight, sf::RenderTarget* tar);
	};
}

#endif //SL_TILESET_HPP